package com.hngy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hngy.domain.Dish;
import com.hngy.dto.DishDto;

import java.util.List;

/**
 * @author LiKe
 * @date 2021/12/26 16:19
 */
public interface DishService extends IService<Dish> {
    void add(DishDto dishDto);

    IPage pageDishType(int page, int pageSize, String name);

    DishDto getDishDto(Long id);

    void updateDishFlavor(DishDto dishDto);

    void deleteById(String[] ids);

    void updateStatus(int status, List<Long> ids);

    List<Dish> listType(Long categoryId);
}
